package com.yzyz.bean.scenic;

import com.yzyz.bean.BaseBean;

/**
 * 景区中的景点
 * @author David Sun
 * @Date   2010-3-28
 *
 */
public class AttractionsBean extends BaseBean {

	@Override
	public boolean equals(Object obj) {
		if(obj == null){
			return false;
		}
		if(obj instanceof AttractionsBean){
			AttractionsBean att = (AttractionsBean)obj;
			if(att.getId() == this.id){
				return true;
			}
		}
		return false;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 8940744275500130550L;
	
	private String description;
	
	private int ownerId;

	public int getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(int ownerId) {
		this.ownerId = ownerId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	
}
